{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
<php>
	function get_date_url($date){
		return "<a href=\"m.php?m=StatisticsBorrow&a=tender_account_info&time=$date\">$date</a>";
	}
</php>
<load href='__TMPL__Common/js/calendar/calendar.css' />
<load href='__TMPL__Common/js/calendar/calendar.js' />
<div class="main">
<div class="main_title">投资金额</div>
<div class="blank5"></div>

	<form name="search" id = "search_form"  action="__APP__" method="get">	
		<input type="hidden" value='{$q_date_diff}' name="q_date_diff" id="q_date_diff"  />
		<label id="start_time_item_title">开始日期:</label><input class = "require textbox" type="text" name="start_time" id="q_start_time" value="{$start_time}" style=""  onfocus="return showCalendar('q_start_time', '%Y-%m-%d', false, false, 'q_start_time');" />
		<label id="end_time_item_title">结束日期:</label><input class = "require textbox" type="text" name="end_time" id="q_end_time" value="{$end_time}" style=""  onfocus="return showCalendar('q_end_time', '%Y-%m-%d', false, false, 'q_end_time');" />
		
		<input type="hidden" value='StatisticsBorrow' name="m" />
		<input type="hidden" value='tender_account_total' name="a" />
		<input type="submit" class="button" value="{%SEARCH}" />
		
		<input type="button" id = "submit_date_0" class="button_none" value="今天" />
		<input type="button" id = "submit_date_1" class="button_none" value="昨天" />
		<input type="button" id = "submit_date_7" class="button_none" value="最近一周" />
		<input type="button" id = "submit_date_30" class="button_none" value="最近一月" />		
	</form>
	
<div class="blank5"></div>

<div class="blank5"></div>
	<div class="line">
		<foreach name="chart_list[0]" item="chart_item">
			<label><input type="radio" onclick="javascript:load0_line{$key}();"  name="info_0_line" id="info_0_line_{$key}" value="{$key}" <if condition="$key eq 0">checked="true"</if>>{$chart_item.title}</label>
		</foreach>
		
	</div>
	
	<div class="bar" style="display:none;">
		<foreach name="chart_list[0]" item="chart_item">
			<label><input type="radio" onclick="javascript:load0_bar{$key}();"  name="info_0_bar" id="info_0_bar_{$key}" value="{$key}"  <if condition="$key eq 0">checked="true"</if>>{$chart_item.title}</label>
		</foreach>	
		
	</div>

	<div class="blank5">
	
		
	</div>
	<div class="blank5"></div>
	
	<include file="Public:chart" />
	
	<div class="blank5">
		
		
	</div>
	
<html:list 
	id="dataTable" 
	style="dataTable" 
	name="deal" 
	datasource="list" 
	show="时间|get_date_url:时间
		,投资人次:投资人次
		,投资成功|format_price:投资成功
		,冻结投资额|format_price:冻结投资额
		,投资失败|format_price:投资失败
		,已获奖励|format_price:已获奖励
		"/> 
		
		

	
	
<div class="blank5"></div>
<div class="page">{$page}</div>

</div>

<include file="Public:footer" />